﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BackboneTest.Models
{
	/// <summary>
	/// Guestbook的实体类 (属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class Guestbook
	{
        #region Model
		private int _guestbookid;
		private string _contents;
		private DateTime? _addtime;
		private int? _userid;
		
		public Guestbook() {}
        
        
        
		/// <summary>
        /// 
        /// </summary>
		public int GuestbookID
		{
			get{ return this._guestbookid; }
			set{ this._guestbookid = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Contents
		{
			get{ return this._contents; }
			set{ this._contents = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public DateTime? AddTime
		{
			get{ return this._addtime; }
			set{ this._addtime = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public int? UserID
		{
			get{ return this._userid; }
			set{ this._userid = value; }
		}
		
        #endregion Model
	}
    
    
    /// <summary>
	/// Guestbook的搜索条件实例类与从实体类中变更得到 (属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public class GuestbookItem
	{
        #region Model
		private int _guestbookid;
		private string _contents;
		private DateTime? _addtime;
		private int? _userid;
		
		public GuestbookItem() {}
        
        
        
		/// <summary>
        /// 
        /// </summary>
		public int GuestbookID
		{
			get{ return this._guestbookid; }
			set{ this._guestbookid = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public string Contents
		{
			get{ return this._contents; }
			set{ this._contents = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public DateTime? AddTime
		{
			get{ return this._addtime; }
			set{ this._addtime = value; }
		}
		
        /// <summary>
        /// 
        /// </summary>
		public int? UserID
		{
			get{ return this._userid; }
			set{ this._userid = value; }
		}
		
        #endregion Model
	}
}


